package com.zzj.dao;

import com.zzj.bean.TabFlower;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import javafx.scene.control.Tab;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * InnoDB free: 8192 kB Mapper 接口
 * </p>
 *
 * @author 花
 * @since 2022-03-04
 */

public interface TabFlowerMapper extends BaseMapper<TabFlower> {

    /**查找所有上架的花
     * @return
     */
    List<TabFlower> findAll();

    /**
     * @param fid
     * @return
     */
    TabFlower findOneById(String fid);


    List<TabFlower> getFlowerByLike(@Param("column") String column,@Param("val") String val);


}
